package com.nantes.nantourage.gtamap.activity;

import org.osmdroid.tileprovider.tilesource.TileSourceFactory;
import org.osmdroid.util.GeoPoint;
import org.osmdroid.views.MapController;
import org.osmdroid.views.MapView;

import android.os.Bundle;
import android.view.Window;

import com.nantes.nantourage.R;
import com.nantes.nantourage.app.SPActivity;

public class GtaMap extends SPActivity {
	
	private MapController mapController;
    private MapView mapView;
    
@Override
protected void onCreate(Bundle savedInstanceState) {
	// TODO Auto-generated method stub
	super.onCreate(savedInstanceState);
	
	requestWindowFeature(Window.FEATURE_NO_TITLE);
    setContentView(R.layout.gtamap);
    
    mapView = (MapView) findViewById(R.id.gtamap_map);
    mapView.setBuiltInZoomControls(true);
    mapController = mapView.getController();
    mapController.setZoom(17);
    GeoPoint point2 = new GeoPoint(47216274, -1549265);
    mapController.setCenter(point2);
}
}
